﻿@model RGoodSW.Logger.Models.LogEntry

<table>
    <tr>
        <th>
            Application
        </th>
        <td>
            @Html.DisplayFor(model => model.Application)
        </td>
    </tr>
    <tr>
        <th>
            LogTimeLocal
        </th>
        <td>
            @Html.DisplayFor(model => model.LogTimeLocal)
        </td>
    </tr>
    <tr>
        <th>
            LogDbTimeUTC
        </th>
        <td>
            @Html.DisplayFor(model => model.LogDbTimeUTC)
        </td>
    </tr>
    <tr>
        <th>
            Level
        </th>
        <td>
            @Html.DisplayFor(model => model.Level)
        </td>
    </tr>
    <tr>
        <th>
            Logger
        </th>
        <td>
            @Html.DisplayFor(model => model.Logger)
        </td>
    </tr>
    <tr>
        <th>
            UserName
        </th>
        <td>
            @Html.DisplayFor(model => model.UserName)
        </td>
    </tr>
    <tr>
        <th>
            RemoteIP
        </th>
        <td>
            @Html.DisplayFor(model => model.RemoteIP)
        </td>
    </tr>
    <tr>
        <th>
            MachineName
        </th>
        <td>
            @Html.DisplayFor(model => model.MachineName)
        </td>
    </tr>
    <tr>
        <th>
            ThreadId
        </th>
        <td>
            @Html.DisplayFor(model => model.ThreadId)
        </td>
    </tr>
    <tr>
        <th>
            SessionId
        </th>
        <td>
            @Html.DisplayFor(model => model.SessionId)
        </td>
    </tr>
    <tr>
        <th>
            URL
        </th>
        <td>
            @Html.DisplayFor(model => model.URL)
        </td>
    </tr>
    <tr>
        <th>
            Message
        </th>
        <td>
            @Html.Raw(@Html.Encode(Model.Message).Replace(Environment.NewLine,"<br/>"))
        </td>
    </tr>
    <tr>
        <th>
            Exception
        </th>
        <td>
            @Html.Raw(@Html.Encode(Model.Exception).Replace(Environment.NewLine, "<br/>"))
        </td>
    </tr>

</table>
